package com.wz.project.system.prjgroup.mapper;

import com.wz.project.system.prjgroup.domain.Prjgroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrjGroupMapper {

    List<Prjgroup> selectPrjGroupList(@Param("prjgroup") Prjgroup prjgroup);

    int insertOne(Prjgroup prjgroup);

    Prjgroup selectOneById(@Param("id") Integer prigroupId);

    int update(@Param("prjgroup") Prjgroup prjgroup);

    int deleteByIds(Long[] prjgroupIds);

    List<Prjgroup> selectPrjgroupByDeptId(@Param("deptId") Integer deptId);
}
